package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.ProjectGuaranteeServicePlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectGuaranteeServicePlanMapperExt extends  ProjectGuaranteeServicePlanMapper{

    /**
     * 通过标的ID和费用类型查询未收回费用
     * @param projectId
     * @param feeType
     * @return
     */
    List<ProjectGuaranteeServicePlan> listNotReceiveByProjectIdAndFeeType(@Param("projectId")Long projectId, @Param("feeType")Integer feeType);
    List<ProjectGuaranteeServicePlan> listServiceFeesReceiveByProjectId(@Param("projectId")Long projectId);

}